package cn.lambda.test;
import java.util.concurrent.Callable;
public class TargetType {
	public static void invoke(Runnable r) {
		r.run();
	}
	public static <T> T invoke(Callable<T> c) throws Exception {
		return c.call();
	}
	public static void main(String[] args) throws Exception {
		String s = invoke(() -> "done");
	}
}